// 先引入mockjs模块
import Mock from 'mockjs'


// 把json格式的数据引进来
// webpack中默认对外暴露的有json，图片等数据格式
import banner from './banner.json'
import floor from './floor.json'

// mock数据：第一个参数是请求地址，第二个参数是：请求数据
Mock.mock("/mock/banner",{code:200,data:banner}) 
Mock.mock("/mock/floor",{code:200,data:floor})    
